package com.htht.job.executor.mvc.controller;

import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;


@Controller
//@EnableAutoConfiguration
public class IndexController {
    @RequestMapping("/")
    @ResponseBody
    String index() {
        String osName = System.getProperty("os.name" );
        System.out.println(osName);

        return "xxl job executor running.";
    }

}